package com.ygqh.baby.mapper;
import com.ygqh.baby.po.AdminSupplierInvoice;
import com.ygqh.baby.po.AdminSupplierInvoiceExample;
import com.ygqh.baby.ao.QueryInfo;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.junit.runners.Parameterized.Parameters;
public interface AdminSupplierInvoiceMapper {
    int countByExample(AdminSupplierInvoiceExample example);

    int deleteByExample(AdminSupplierInvoiceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AdminSupplierInvoice record);

    int insertSelective(AdminSupplierInvoice record);

    List<AdminSupplierInvoice> selectByExample(AdminSupplierInvoiceExample example);

    AdminSupplierInvoice selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AdminSupplierInvoice record, @Param("example") AdminSupplierInvoiceExample example);

    int updateByExample(@Param("record") AdminSupplierInvoice record, @Param("example") AdminSupplierInvoiceExample example);

    int updateByPrimaryKeySelective(AdminSupplierInvoice record);

    int updateByPrimaryKey(AdminSupplierInvoice record);
    
    int countSuper(@Param ("q") String q,@Param("salesCompany") String salesCompany);
    
    List<AdminSupplierInvoice> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q,@Param("salesCompany") String salesCompany);

	void inserBatchSupplierInvoice(@Param("adminInvoice")List<AdminSupplierInvoice> adminInvoice);
    
}



